package com.airticketbooking.mapper;

import com.airticketbooking.po.Aircrafttype;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.domain.Page;

/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/10
 * @desc
 */

@Mapper
public interface AircrafttypeMapper {
	@Select("SELECT * FROM airticketbooking.aircrafttypes WHERE aircrafttype_id = #{aircraftTypeId}")
	public Aircrafttype queryById(Integer aircraftTypeId);

	Page<Aircrafttype> queryByPage();

}
